// 搜索请求相关
import request from '../utils/request.js'
// 搜索建议列表
export const getSearchSuggections = function (q) {
  return request({
    method: 'get',
    url: '/v1_0/suggestion',
    params: {
      q
    }
  })
}
// 搜索结果
export const getSearchResult = function (params) {
  return request({
    method: 'get',
    url: '/v1_0/search',
    params
  })
}
